UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Oracle Linux operating system must disable the login screen user list for graphical user interfaces.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256976 OL07-00-010063 SV-256976r902765_rule Medium
Description
Leaving the user list enabled is a security risk as it allows anyone with physical access to the system to enumerate known user accounts without authenticated access to the system.
STIG Date
Oracle Linux 7 Security Technical Implementation Guide 2023-03-06

Details

Check Text ( C-60654r902763_chk )
Verify that the operating system is configured to disable the login screen user list for graphical user interfaces.

Note: If the system does not have the GNOME Desktop installed, this requirement is Not Applicable.

Verify that the login screen user list for the GNOME Desktop is disabled with the following command:

$ sudo grep -is disable-user-list /etc/dconf/db/gdm.d/*

/etc/dconf/db/gdm.d/00-login-screen:disable-user-list=true

If the variable "disable-user-list" is not defined in a file under "/etc/dconf/db/gdm.d/", is not set to "true", is missing or commented out, this is a finding.
Fix Text (F-60596r902764_fix)
Configure the operating system to disable the login screen user list for graphical user interfaces.

Create or edit the gdm profile in "/etc/dconf/profile/" to contain the following lines:

$ sudo vi /etc/dconf/profile/gdm

user-db:user
system-db:gdm
file-db:/usr/share/gdm/greeter-dconf-defaults

Create or edit the gdm database for machine-wide settings in "/etc/dconf/db/gdm.d/" with the following lines:

$ sudo vi /etc/dconf/db/gdm.d/00-login-screen

[org/gnome/login-screen]
disable-user-list=true

Update the system databases by updating the dconf utility:

$ sudo dconf update

If the login screen user list persists after updating the system databases, you can restart the GNOME Desktop without rebooting the system:

$ sudo systemctl restart gdm